package com.ktgj.customer.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 会员识别
 */
public class CustomerIdentify {
    /**
     * 会员名 CUSTOMER_NAME  c  vc
     */
    private String customerName;
    /**
     * 会员id
     */
    private Long customerId;
    /**
     * 会员证件号
     */
    private String customerNo;
    /**
     * 会员手机号1 CONTRACT_PHONE_ONE     c vc
     */
    private String phoneOne;
    /**
     * 会员手机号2 CONTRACT_PHONE_TOW      c vc
     */
    private String phoneTwo;
    /**
     * 会员性别 CUSTOMER_SEX 性别 1女 2男 c
     */
    private String sex;
    /**
     *  账户余额： 预留款 DEPOSIT_SKIP_PWD_AMOUNT  c   bigint
     */
    private Long balance;
    /**
     * 可用积分（总积分算的） AVAILABLE_VALUE
     */
    private Long availableValue;
    /**
     * PNT_VALUE 操作积分数量 bigint p
     */
    private  Long pntvalue;
    /**
     * EXPIRED_TIME 过期时间(积分)
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expiredTime;
    /**
     * PNT_DIRECTION 记录积分操作的方向  1 增加  2  减少
     */
    private  Long  pntDirection;
    /**
     * 会员卡号 CARD_CODE cc  varchar
     */
     private String cardCode;
    /**
     * card 表 获取 CARD_SECTION_NAME vc  卡名称(卡类型)
     */
    private  String cardType;
    /**
     * 成为会员时间 IS_MEMBER_TIME c
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
     private Date vipDate;

    /**
     * 到期时间
     * */
    private String invalIdDate;

    public String getInvalIdDate() {
        return invalIdDate;
    }

    public void setInvalIdDate(String invalIdDate) {
        this.invalIdDate = invalIdDate;
    }

    public String getCustomerNo() {
        return customerNo;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public void setCustomerNo(String customerNo) {
        this.customerNo = customerNo;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getPhoneOne() {
        return phoneOne;
    }

    public void setPhoneOne(String phoneOne) {
        this.phoneOne = phoneOne;
    }

    public String getPhoneTwo() {
        return phoneTwo;
    }

    public void setPhoneTwo(String phoneTwo) {
        this.phoneTwo = phoneTwo;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Long getBalance() {
        return balance;
    }

    public void setBalance(Long balance) {
        this.balance = balance;
    }

    public Long getAvailableValue() {
        return availableValue;
    }

    public void setAvailableValue(Long availableValue) {
        this.availableValue = availableValue;
    }

    public Long getPntvalue() {
        return pntvalue;
    }

    public void setPntvalue(Long pntvalue) {
        this.pntvalue = pntvalue;
    }

    public Date getExpiredTime() {
        return expiredTime;
    }

    public void setExpiredTime(Date expiredTime) {
        this.expiredTime = expiredTime;
    }

    public Long getPntDirection() {
        return pntDirection;
    }

    public void setPntDirection(Long pntDirection) {
        this.pntDirection = pntDirection;
    }

    public String getCardCode() {
        return cardCode;
    }

    public void setCardCode(String cardCode) {
        this.cardCode = cardCode;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public Date getVipDate() {
        return vipDate;
    }
    public void setVipDate(Date vipDate) {
        this.vipDate = vipDate;
    }
}
